# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=py3-iso8601
pkgver=0.1.12
pkgrel=1
pkgdesc="Simple module to parse ISO 8601 dates"
url="https://bitbucket.org/micktwomey/pyiso8601"
arch="all"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/i/iso8601/iso8601-$pkgver.tar.gz"

builddir="$srcdir/iso8601-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3 --verbose iso8601
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="d64f3a83fd3a678446e17fb35265c0487491a53a2ec306fe2332c59e9e471bfe8580b3280da7ae13664f07f7f29edb0347196351ab698849ccaefb52d6ce6613  iso8601-0.1.12.tar.gz"
